package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生成绩记录对象 ya_exam_record
 *
 * @author sunshine
 * @date 2024-01-24
 */
public class ExamRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classesId;

    /** 班级名字 */
    @Excel(name = "班级名字")
    private String classesName;

    /** 第几阶段: 1，一阶段 */
    @Excel(name = "第几阶段: 1，一阶段")
    private Integer stage;

    /** 第几周: 1,第一周 */
    @Excel(name = "第几周: 1,第一周")
    private Integer week;

    /** 机试平均分 */
    @Excel(name = "机试平均分")
    private Integer avgComputerScore;

    /** 笔试平均分 */
    @Excel(name = "笔试平均分")
    private Integer avgWrittenScore;

    /** 测试类型 */
    @Excel(name = "测试类型")
    private Integer examType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassesId(Long classesId)
    {
        this.classesId = classesId;
    }

    public Long getClassesId()
    {
        return classesId;
    }
    public void setClassesName(String classesName)
    {
        this.classesName = classesName;
    }

    public String getClassesName()
    {
        return classesName;
    }
    public void setStage(Integer stage)
    {
        this.stage = stage;
    }

    public Integer getStage()
    {
        return stage;
    }
    public void setWeek(Integer week)
    {
        this.week = week;
    }

    public Integer getWeek()
    {
        return week;
    }
    public void setAvgComputerScore(Integer avgComputerScore)
    {
        this.avgComputerScore = avgComputerScore;
    }

    public Integer getAvgComputerScore()
    {
        return avgComputerScore;
    }
    public void setAvgWrittenScore(Integer avgWrittenScore)
    {
        this.avgWrittenScore = avgWrittenScore;
    }

    public Integer getAvgWrittenScore()
    {
        return avgWrittenScore;
    }
    public void setExamType(Integer examType)
    {
        this.examType = examType;
    }

    public Integer getExamType()
    {
        return examType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classesId", getClassesId())
            .append("classesName", getClassesName())
            .append("stage", getStage())
            .append("week", getWeek())
            .append("avgComputerScore", getAvgComputerScore())
            .append("avgWrittenScore", getAvgWrittenScore())
            .append("examType", getExamType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
